
<?php include './application/views/common/header.php'; ?>
<script type="text/javascript" src="/static/js/My97DatePicker/WdatePicker.js"></script>
<div class="warp">
<div class="main">
<table width="90%" cellspacing="0" cellpadding="0" border="0" class="user_table">
            <tr>
                <td valign="top" class="user_table_td">
                    <?php include './application/views/common/user_left.php'; ?>
                </td>
                <td valign="top">

                    <!-- User_Left End -->
                    <div class="user_right">
                    	<div class="user_list_title">
 							<?php include './application/views/common/user_sub_left.php'; ?>
                        </div>
                        <!-- User_List_Title End -->
<div class="user_list_con">
	<p>客户投资统计数据 </p>
	<div class="user_list_search">
	<form id="tmpform" action="/user/customers_invest" method="post">
	开始时间：<input type="text" name="start" value="<?php echo $parms['start'];?>" onfocus="WdatePicker()" readonly="readonly" class="u9s_text" /> 
	结束时间：<input type="text" name="end" value="<?php echo $parms['end'];?>" onfocus="WdatePicker()" readonly="readonly" class="u9s_text" />
	<input type="submit" value="查询"  class="u9s_But">
	</form>
	</div>
	<div class="user_list_con">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr bgcolor="#F3F3F3" height="40px">
			<td align="center"><strong>开始</strong></td>
			<td align="center"><strong>结束</strong></td>
			<td align="center"><strong>客户投资总额</strong></td>
		  </tr>
		  <?php foreach($list as $val){?>
		  <tr height="35px">
			<td align="center"><?php echo $val['start'];?></td>
			<td align="center"><?php echo $val['end'];?></td>
			<td align="center"><?php echo $val['total'] ? $val['total'] : 0;?></td>
		  </tr>
		  <?php }?>
		  
		</table>
	</div>
<!-- User_List_Con End -->
</div>
                    </div>
                    <!-- User End -->
                </td>
            </tr>
        </table>

<?php include './application/views/common/footer.php'; ?>